package com.juzipi.demo.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;

/**
 * @Author juzipi
 * @Date 2021/4/25 13:18
 * @Info people 表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class People {


    @TableId(type = IdType.ASSIGN_ID)
    @TableField(fill = FieldFill.INSERT)
    private Long id;

    private String name;

    private Time time;

}
